package com.decent.ejfadmin.common.enums;

/**
 * 支付宝转账订单状态
 *
 * @author starsky
 * @since 7/9/2019 11:51 AM
 */
public enum AliTransferStatusEnum {
    /**
     * 未转账
     */
    UN_TRANSFER("未转账", 0),
    /**
     * 成功
     */
    SUCCESS("成功", 1),
    /**
     * 失败
     */
    FAILED("失败", 2),
    /**
     * 转账异常
     */
    ABNORMAL("转账异常", 3);

    private Integer state;

    private String msg;

    AliTransferStatusEnum(String msg, Integer state) {
        this.msg = msg;
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public String getMsg() {
        return msg;
    }
}
